//
//  DataBaseHandler.h
//  SeeTheWorld
//
//  Created by dllo on 16/2/24.
//  Copyright © 2016年 dllo. All rights reserved.
//

#import <Foundation/Foundation.h>

@class ModelOfClickZhuanTiCell;

@interface DataBaseHandler : NSObject


+ (instancetype)shareDataBaseHandler;

- (void)open;

- (void)createTable;

- (void)insertModel:(ModelOfClickZhuanTiCell *)model;

- (BOOL)selectForName:(NSString *)name;

- (NSMutableArray *)shouCang;

- (void)deleteWithName:(NSString *)name;



- (void)createTable1;
- (void)insertModel1:(NSString *)text;
- (NSMutableArray *)history;
- (BOOL)selectForHistory:(NSString *)name;
- (void)deleteHistory;

@end
